<template>
    <div class="stu_detail_wrap">
        <bread-crumb></bread-crumb>
        <h1>具体某个学生的信息详情</h1>
        <img :src="stuDetail.stu_head_img" alt="" srcset="" width="150px" height="150px" />
        <div>
            <p>学号：{{ stuDetail.stu_id }}</p>
            <p>姓名：{{ stuDetail.stu_name }}</p>
            <p>性别：{{ stuDetail.stu_sex }}</p>
            <p>籍贯：{{ stuDetail.stu_jg }}</p>
            <!-- <p>{{ stuDetail.stu_date }}</p> -->
            <p>日期：{{ $moment(stuDetail.stu_date).format("YYYY-MM-DD") }}</p>
            <p>男女朋友：{{ stuDetail.stu_gbf }}</p>
            <p>爱好及自我评价：{{ stuDetail.stu_hobby }}</p>
        </div>
    </div>
</template>

<script>
export default {
    mounted() {
        console.log(JSON.parse(this.$route.query.stuInfoDetail));
        this.stuDetail = JSON.parse(this.$route.query.stuInfoDetail);
        console.log(this.stuDetail);
    },
    data() {
        return {
            stuDetail: {},
        };
    },
};
</script>

<style lang="scss" scoped>
.stu_detail_wrap {
    div {
        height: 30px;
    }
}
</style>